package developer.核心类.锁;

import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * @author zhangyongkang
 * @time 2025/8/1 16:55
 * @description
 */
public class Atomic {
    public static void main(String[] args) {
        AtomicInteger atomicInteger = new AtomicInteger();
        int i = atomicInteger.incrementAndGet();
        //动态线程池有三个关键点
        //1. 动态
        //2. 检测到系统的负载
//        ThreadPoolExecutor threadPoolExe cutor = new ThreadPoolExecutor(1);


    }
}
